package com.zxh.system.service;

import com.zxh.system.entity.User;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface AuthService {
    User register(User userToAdd);
    String login(String username, String password);
    String refresh(String oldToken);
}

